const columns = [{"field":"postId","
field_title":"ID","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"postCode","
field_title":"岗位编码","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"postName","
field_title":"岗位名称","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"postSort","
field_title":"岗位排序","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"status","
field_title":"状态","table_width":"auto","table_render_type":"tag","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"remark","
field_title":"备注","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false},{"field":"createTime","
field_title":"创建时间","table_width":"auto","table_render_type":"text","form_render_type":"input","is_hidden_in_table":false,"is_hidden_in_form":false}];

let tableColumns = [
    // {
    //     column: "postId",//字段属性名
    //     field_title: "ID",//字段标题
    //     table_width: "auto",//表格宽度
    //     column_sortable: false, //表格是否可排序
    //     column_show_overflow_tooltip: false, //表格悬浮是否展示提示
    //     table_render_type: '',//表格展示类型   '' || text || tag || image || image-list || file
    // },
]

let formColumns = [
    //【form_render_type 类型列表】
    //input 默认
    //number 文字输入
    //textarea 文本域
    //date 日期
    //select 下拉选
    //radio 单选
    //cascader 级联选择
    //upload-image 上传图片
    //upload-file 上传文件
    //rich-editor 富文本编辑器
    //topic-card 话题卡片

    {
        column: "postId",
        field_title: "ID",
        is_required: 1,
        form_render_type: "ID", //'' || text || tag || image || image-list || file

        //选项型数据
        // labelKey: "channelName",
        // valueKey: "channelId",
        // options: newsTypeOptions,

        // 文件上传
        // upload_multiple: true,
        // upload_limit: 9,
        // upload_tip: "(可上传多图，建议图片压缩后上传)",
        // cache_key: "upload_cover_list", //图片上传回显
        // saveFormat: "jsonObjectArray",
    },
]

export default {
    columns,
};
